
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont">&#xece6;</i>
                    <div class="name">th-list</div>
                    <div class="code">&amp;#xece6;</div>
                    <div class="fontclass">.thlist</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xecde;</i>
                    <div class="name">tasks</div>
                    <div class="code">&amp;#xecde;</div>
                    <div class="fontclass">.tasks</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xec28;</i>
                    <div class="name">th-large</div>
                    <div class="code">&amp;#xec28;</div>
                    <div class="fontclass">.thlarge</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xec29;</i>
                    <div class="name">th-list</div>
                    <div class="code">&amp;#xec29;</div>
                    <div class="fontclass">.thlist1</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xec52;</i>
                    <div class="name">user</div>
                    <div class="code">&amp;#xec52;</div>
                    <div class="fontclass">.user</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xe608;</i>
                    <div class="name">资料编辑</div>
                    <div class="code">&amp;#xe608;</div>
                    <div class="fontclass">.ziliaobianji</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xe607;</i>
                    <div class="name">iconfont-bianji</div>
                    <div class="code">&amp;#xe607;</div>
                    <div class="fontclass">.iconfontbianji</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xe67e;</i>
                    <div class="name">daily-report</div>
                    <div class="code">&amp;#xe67e;</div>
                    <div class="fontclass">.daily-report</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xe680;</i>
                    <div class="name">weekly-report</div>
                    <div class="code">&amp;#xe680;</div>
                    <div class="fontclass">.weekly-report</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xe679;</i>
                    <div class="name">overview</div>
                    <div class="code">&amp;#xe679;</div>
                    <div class="fontclass">.overview</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xe670;</i>
                    <div class="name">task-line</div>
                    <div class="code">&amp;#xe670;</div>
                    <div class="fontclass">.task-line</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xe66f;</i>
                    <div class="name">document-line</div>
                    <div class="code">&amp;#xe66f;</div>
                    <div class="fontclass">.document-line</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xe824;</i>
                    <div class="name">icon_File</div>
                    <div class="code">&amp;#xe824;</div>
                    <div class="fontclass">.iconfile</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xe80c;</i>
                    <div class="name">icon_Yes_a</div>
                    <div class="code">&amp;#xe80c;</div>
                    <div class="fontclass">.iconyesa</div>
                </li>
            
        </ul>


        <div class="helps">
            第一步：使用font-face声明字体
            <pre>
@font-face {font-family: 'iconfont';
    src: url('iconfont.eot'); /* IE9*/
    src: url('iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('iconfont.woff') format('woff'), /* chrome、firefox */
    url('iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
    url('iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */
}
</pre>
第二步：定义使用iconfont的样式
            <pre>
.iconfont{
    font-family:"iconfont" !important;
    font-size:16px;font-style:normal;
    color:red;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;}
</pre>
第三步：挑选相应图标并获取字体编码，应用于页面
<pre>
&lt;i class="iconfont"&gt;&amp;#x33;&lt;/i&gt;
</pre>
        </div>

    </div>
</body>
</html>
